package com.loren.demo27.form.xml;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;

@Getter
@Setter
@XmlAccessorType(XmlAccessType.FIELD)
public class TableForeign extends TableAttr{

    @XmlAttribute
    private String name;

    @XmlAttribute
    private String cascade;

    @XmlAttribute
    private String reference;

    @XmlAttribute
    private String show;

    @XmlAttribute
    private Boolean required = false;
}
